$(document).ready(function() {
	$("#checkboxall").click(function() {
		var checked_status = this.checked;
		$("input[name=checkall]").each(function() {
			this.checked = checked_status;
		});
	});
});

function empproAdd() {
	

	$.post("empProductAction!save", 
	{userid: $("#userid").val(),
	code: $("#code").val(),
	num: $("#num").val(),
	earning: $("#earning").val(),
	date: $("#date").val()}
	,function(response) {
		$("#rightside").html(response);
	});
}